<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<c:set var="sub_grant_code"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>



<div class="t_bar"><span class="color_red">*</span>经费申请表（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="fundInfo">

	<tr class="t_tr">
		<td align="center" width="180">预算科目</td>
		<td class="TblHead" align="center" width="80">预算经费</td>
		 <td class="TblHead" align="center" width="80">备注（计算依据与说明）</td>
		<!-- <td class="TblHead" align="center"width="80">自筹经费</td>  -->
	</tr>
	<tr >
		<td align="left" style=""><strong>一、直接费用</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[07]@invest_code" value="07" />
			<input type="hidden" name="budget/invest_detail/invest[07]/name" value="直接费用" />
			<input type="text" name="budget/invest_detail/invest[07]/total_invest" id="total_invest_7"
				   class="gray" disabled label="直接费用"  style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_invest" />" 	
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" name="budget/invest_detail/invest[07]/total_allot" id="total_allot_7" 
				    label="直接费用-->备注"  class="maxlength:50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_allot" />" 
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">1、设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[08]@invest_code" value="08" />
			<input type="hidden" name="budget/invest_detail/invest[08]/name" value="设备费" />
			<input type="text" name="budget/invest_detail/invest[08]/total_invest" id="total_invest_8" 
				   class="gray" disabled label="设备费"  style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" name="budget/invest_detail/invest[08]/total_allot" id="total_allot_8" 
				    label="设备费-->备注"  class="maxlength:50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_allot" />" 
			/>
		</td>
	
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（1）购置设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[09]@invest_code" value="09" />
			<input type="hidden" name="budget/invest_detail/invest[09]/name" value="购置设备费" />
			<input type="text" name="budget/invest_detail/invest[09]/total_invest" id="total_invest_9"
					 onfocus="InitInput.setNumber(this,7,4,2)"  
				    label="购置设备费"  style="text-align:right; width:160px;" 
				    onchange="countFundAuto('total_','invest_9,invest_10,invest_11','invest_8');
				    	countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				    	count() 
				    	"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" name="budget/invest_detail/invest[09]/total_allot" id="total_allot_9"  
				   class="" label="购置设备费-->备注"  class="maxlength:50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_allot" />" 
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（2）试制设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[10]@invest_code"  value="10">
			<input type="hidden" name="budget/invest_detail/invest[10]/name" value="试制设备费">
			<input type="text" name="budget/invest_detail/invest[10]/total_invest"
				    onfocus="InitInput.setNumber(this,7,4,2)"
				    label="试制设备费"  style="text-align:right; width:160px;"
				   id="total_invest_10" onchange="countFundAuto('total_','invest_9,invest_10,invest_11','invest_8');
				   countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_invest" />" 		
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" name="budget/invest_detail/invest[10]/total_allot"
				    label="试制设备费-->备注" id="total_allot_10" class="maxlength:50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（3）设备改造与租赁费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[11]@invest_code"  value="11">
			<input type="hidden" name="budget/invest_detail/invest[11]/name" value="设备改造与租赁费">
			<input type="text" name="budget/invest_detail/invest[11]/total_invest" id="total_invest_11" 
			         onfocus="InitInput.setNumber(this,7,4,2)"
				    label="设备改造与租赁费"  
				    onchange="countFundAuto('total_','invest_9,invest_10,invest_11','invest_8');
						countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
						count()
						"
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_11"  name="budget/invest_detail/invest[11]/total_allot" 
				  label="设备改造与租赁费-->备注" class="maxlength:50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_allot" />"
			/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">2、材料费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[12]@invest_code"  value="12">
			<input type="hidden" name="budget/invest_detail/invest[12]/name" value="材料费">
			<input type="text" name="budget/invest_detail/invest[12]/total_invest" id="total_invest_12" 
				    label="材料费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_12"  name="budget/invest_detail/invest[12]/total_allot" 
				  class="maxlength:50" label="材料费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">3、测试化验加工费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[13]@invest_code"  value="13">
			<input type="hidden" name="budget/invest_detail/invest[13]/name" value="测试化验加工费">
			<input type="text" name="budget/invest_detail/invest[13]/total_invest" id="total_invest_13" 
				    label="测试化验加工费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_13"  name="budget/invest_detail/invest[13]/total_allot" 
				   class="maxlength:50" label="测试化验加工费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">4、燃料动力费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[14]@invest_code"  value="14">
			<input type="hidden" name="budget/invest_detail/invest[14]/name" value="燃料动力费">
			<input type="text" name="budget/invest_detail/invest[14]/total_invest" id="total_invest_14" 
				    label="燃料动力费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_14"  name="budget/invest_detail/invest[14]/total_allot" 
				   class="maxlength:50" label="燃料动力费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">5、差旅费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[15]@invest_code"  value="15">
			<input type="hidden" name="budget/invest_detail/invest[15]/name" value="差旅费">
			<input type="text" name="budget/invest_detail/invest[15]/total_invest" id="total_invest_15" 
				    label="差旅费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_15"  name="budget/invest_detail/invest[15]/total_allot" 
				   class="maxlength:50" label="差旅费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">6、会议费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[16]@invest_code"  value="16">
			<input type="hidden" name="budget/invest_detail/invest[16]/name" value="会议费">
			<input type="text" name="budget/invest_detail/invest[16]/total_invest" id="total_invest_16" 
				    label="会议费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_16"  name="budget/invest_detail/invest[16]/total_allot" 
				   class="maxlength:50" label="会议费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_allot" />"
			/>
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">7、国际合作与交流费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[17]@invest_code"  value="17">
			<input type="hidden" name="budget/invest_detail/invest[17]/name" value="国际合作与交流费">
			<input type="text" name="budget/invest_detail/invest[17]/total_invest" id="total_invest_17" 
				    label="国际合作与交流费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_17"  name="budget/invest_detail/invest[17]/total_allot" 
				   class="maxlength:50" label="国际合作与交流费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_allot" />"
			/>
		</td>
	
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">8、信息费（出版/文献/信息传播/知识产权事物费等）</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[18]@invest_code"  value="18">
			<input type="hidden" name="budget/invest_detail/invest[18]/name" value="出版/文献/信息传播/知识产权事务费">
			<input type="text" name="budget/invest_detail/invest[18]/total_invest" id="total_invest_18" 
				    label="出版/文献/信息传播/知识产权事务费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_18"  name="budget/invest_detail/invest[18]/total_allot" 
				   class="maxlength:50" label="出版/文献/信息传播/知识产权事务费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_allot" />"
				  />
		</td>
		
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">9、劳务费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[19]@invest_code"  value="19">
			<input type="hidden" name="budget/invest_detail/invest[19]/name" value="劳务费">
			<input type="text" name="budget/invest_detail/invest[19]/total_invest" id="total_invest_19" 
				    label="劳务费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_19"  name="budget/invest_detail/invest[19]/total_allot" 
				   class="maxlength:50" label="劳务费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_allot" />"
				   
			/>
		</td>
	
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">10、专家咨询费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[20]@invest_code"  value="20">
			<input type="hidden" name="budget/invest_detail/invest[20]/name" value="专家咨询费">
			<input type="text" name="budget/invest_detail/invest[20]/total_invest" id="total_invest_20" 
				    label="专家咨询费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='20']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_20"  name="budget/invest_detail/invest[20]/total_allot" 
				   class="maxlength:50" label="专家咨询费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='20']/total_allot" />"
			/>
		</td>
		
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">11、其他支出</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[21]@invest_code"  value="21">
			<input type="hidden" name="budget/invest_detail/invest[21]/name" value="其他支出">
			<input type="text" name="budget/invest_detail/invest[21]/total_invest" id="total_invest_21" 
				    label="其他支出"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='21']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21','invest_7'); 
				   count()
				   "
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_21"  name="budget/invest_detail/invest[21]/total_allot" 
				   class="maxlength:50" label="其他支出-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='21']/total_allot" />"
			/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style=""><strong>二、间接费用</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[22]@invest_code"  value="22">
			<input type="hidden" name="budget/invest_detail/invest[22]/name" value="间接费用">
			<input type="text" name="budget/invest_detail/invest[22]/total_invest" id="total_invest_22" 
				   class="gray" disabled label="间接费用"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='22']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_22"  name="budget/invest_detail/invest[22]/total_allot" 
				   class="maxlength:50" label="间接费用-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='22']/total_allot" />"
			/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">1、管理费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[24]@invest_code"  value="24">
			<input type="hidden" name="budget/invest_detail/invest[24]/name" value="管理费">
			<input type="text" name="budget/invest_detail/invest[24]/total_invest" id="total_invest_24" 
				    label="管理费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				    onchange="countFundAuto('total_','invest_24,invest_23','invest_22');
				     count()
				    "
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='24']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_24"  name="budget/invest_detail/invest[24]/total_allot" 
				   class="maxlength:50" label="管理费-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='24']/total_allot" />"
			/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">2、绩效支出</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[23]@invest_code"  value="23">
			<input type="hidden" name="budget/invest_detail/invest[23]/name" value="绩效支出">
			<input type="text" name="budget/invest_detail/invest[23]/total_invest" id="total_invest_23" 
				    label="绩效支出"  onfocus="InitInput.setNumber(this,7,4,2)" 
				    	onchange="countFundAuto('total_','invest_24,invest_23','invest_22');
				    	count()
				    	"
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='23']/total_invest" />" 
			/>
		</td>
		<td align="center">
			<input type="text" style="width:160px" id="total_allot_23"  name="budget/invest_detail/invest[23]/total_allot" 
				   class="maxlength:50" label="绩效支出-->备注"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='23']/total_allot" />"
			/>
		</td>
	</tr>
	
	<tr >
		<td align="center" ><strong>合计</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[25]@invest_code"  value="25">
			<input type="hidden" name="budget/invest_detail/invest[25]/name" value="合计">
			<input type="text" name="budget/invest_detail/invest[25]/total_invest" id="total_invest_25" 
				    label="预算经费合计"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:160px;" 
				   class="gray valueGreatEqual:total_invest_25:request_amt2" disabled
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='25']/total_invest" />" 
			/>
		</td>
		<td align="center">
		\
		</td>
	</tr>
	
	<tr >
		<td align="center" rowspan="3"><strong>与本项目相关的其他经费来源</strong></td>
		<td align="left">
			<input type="hidden" name="budget/invest_detail/invest[26]@invest_code"  value="26">
			<input type="hidden" name="budget/invest_detail/invest[26]/name" value="其他计划资助经费">
			其他计划资助经费
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[26]/total_invest" id="total_invest_26" 
				    label="其他计划资助经费"  onfocus="InitInput.setNumber(this,7,4,2)" 
				  	class="" 
				  	onchange="countFundAuto('total_','invest_26,invest_27','invest_28');"
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='26']/total_invest" />" 
			/>
		</td>
	</tr>
	
	<tr >
		<td align="left">
			<input type="hidden" name="budget/invest_detail/invest[27]@invest_code"  value="27">
			<input type="hidden" name="budget/invest_detail/invest[27]/name" value="其他经费资助">
			其他经费资助（含部门匹配）
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[27]/total_invest" id="total_invest_27" 
				    label="其他经费资助（含部门匹配）"  onfocus="InitInput.setNumber(this,7,4,2)" 
				    	onchange="countFundAuto('total_','invest_26,invest_27','invest_28');"	
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='27']/total_invest" />" 
			/>
		</td>
	</tr>
	
	<tr >
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[28]@invest_code"  value="28">
			<input type="hidden" name="budget/invest_detail/invest[28]/name" value="其他经费来源合计">
			<strong>其他经费来源合计</strong>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[28]/total_invest" id="total_invest_28" 
				    label="其他经费来源合计"  onfocus="InitInput.setNumber(this,7,4,2)" 
				    class="gray" disabled
				   style="text-align:right; width:160px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='28']/total_invest" />" 
			/>
		</td>
	</tr>
</table>
<script type="text/javascript">
function count(){
	 countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21,invest_23,invest_24','invest_25');
	 /*countFundAuto('total_','invest_9,invest_10,invest_11,invest_12,invest_13,invest_14,invest_15,invest_16,invest_17,invest_18,invest_19,invest_20,invest_21,invest_23,invest_24','invest_28');
	
	var val1 = parseFloat($('#total_invest_28').val());
	var val2 = parseFloat($('#total_invest_26').val());
	if(isNaN(val1)){
		val1 = 0 ;
	}
	if(isNaN(val2)){
		val2 = 0 ;
	}
	$('#total_invest_27').val(val1-val2); */
	$("#request_amt2").val($("#total_invest_25").val());
	
}

</script>


